package main

import "fmt"

func main() {
	//fmt.Println("I am walking and singing...")

	//panic("It starts to rain cats and dogs")

	//msg := recover()
	//fmt.Println(msg)

	defer func() {
		msg := recover()
		fmt.Println(msg)
	}()

	fmt.Println("I am walking and singing...")
	panic("It starts to rain cats and dogs")

}
